package com.itheima.service.impl;

import com.itheima.service.UserService;

/**
 * @program: Spring_day01_01_IOC入门程序
 * @description:
 * @author: xuejingjing
 * @create: 2021-08-02 19:43
 **/
public class UserServiceImpl implements UserService {

    public void save(int i) {
         System.out.println("UserServcieImpl执行了"+i);
    }

    public int update() {
        System.out.println("user service update running");
        return 100;
    }
//老师。我要不先把问题还原下？可以、
    //我现在就是测试这个delete方法。
    public void delete(){
        System.out.println("delete方法执行了");
        int i1 = 1/0;
    }
}
